package com.santos.hw;


import java.util.Properties;

public class inmethod implements inmethodService {
    public String showMethod()
    {
        System.out.println("实例工厂，所有方法非静态！");
        return "实例工厂，所有方法非静态！";
    }

    private String thisMethod;
    private Properties properties;

    public Properties getProperties() {
        return properties;
    }

    public void setProperties(Properties properties) {
        this.properties = properties;
    }

    public void setThisMethod(String thisMethod) {
        this.thisMethod = thisMethod;
    }

    @Override
    public String toString() {
        return "inmethod{" +
                "thisMethod='" + thisMethod + '\'' +
                ", properties=" + properties +
                '}';
    }

    public void init()
    {
        System.out.println("Init......");
    }

    public void close()
    {
        System.out.println("Destroy Object , Closeed!");
    }


}
